/**
 * Project Name:sc-parent-web
 * File Name:ScApplication.java
 * Package Name:com.sc
 * Date:2018年7月2日上午10:17:41
 * Copyright (c) 2018, bluemobi All Rights Reserved.
 */

package com.sc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description: <br/>
 * Date: 2018年7月2日 上午10:17:41 <br/>
 * 
 * @author tianyongxu
 * @version
 * @see
 */
@SpringBootApplication
// @EnableCaching
@MapperScan("com.sc.mapper")
@ComponentScan("com.sc")
public class ScApplication extends SpringBootServletInitializer {

    /**
     * web容器启动入口
     *
     * @see org.springframework.boot.web.support.SpringBootServletInitializer#configure(org.springframework.boot.builder.SpringApplicationBuilder)
     */

    public static void main(String[] args) {
        SpringApplication.run(ScApplication.class, args);
    }
}
